<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="SHORTCUT ICON" href="../images/logo.ico" type="image/x-icon" > 
<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>

<script type="text/javascript" src="js/ddaccordion.js">
</script>


<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='images/plus.gif' class='statusicon' />", "<img src='images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		if (state=="block" && isuseractivated==true){ //if header is expanded and as the result of the user initiated action
		}
	}
})


</script>
<script>
			function handleUnload()
			{
				//event.returnValue = "Click cancel to return to the blah";
				if(window!=null && window.dialogArguments != undefined){
				var xWin=window.dialogArguments;
				xWin.finishExam();
				}
				//xWin.document.getElementById('backgroundFilter').style.display = 'none';
			}
		</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Online Examination System</title>

<link href="css/styleNew.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/rounded-corners.js"></script>
<script type="text/javascript" src="js/form-field-tooltip.js"></script>
</head>

<body onbeforeUnload="handleUnload()">
<script type="text/javascript">
var tooltipObj = new DHTMLgoodies_formTooltip();
tooltipObj.setTooltipPosition('right');
tooltipObj.setPageBgColor('#ffffff');
tooltipObj.setTooltipCornerSize(15);
tooltipObj.initFormFieldTooltip();
</script>
<table style="width:960px;" border="0"  class="container" cellpadding="0" cellspacing="0" align="center">
  <tiles:insert attribute="header"/>
  
  <tr>
    <td>
    <table width="960" border="0" cellspacing="0" cellpadding="0">
      <tr>
	  
        <td valign="top" style="width:700px;">
        <tiles:insert attribute="body"/>
		</td>
      </tr>
      <tr>
	  <td>
	   <tiles:insert attribute="footer"/>        
        
       </td>
      </tr>
	   
     
    </table></td>
  </tr>  
 
</table>


	    	 